public interface ExtendedService
ExtendedService
provides additional support to the current
JNLP API, which allow applications to open a specific file in the client's file system.Modifier and Type | Method and Description |
---|---|
FileContents |
openFile(java.io.File file)
Asks the user the permission to open the specified file if the file
has not been opened before.
|
FileContents[] |
openFiles(java.io.File[] files)
Asks the user the permission to open the specified list of files if
any of the files has not been opened before.
|
FileContents openFile(java.io.File file) throws java.io.IOException
file
- the file objectjava.io.IOException
- - if there is any I/O errorFileContents[] openFiles(java.io.File[] files) throws java.io.IOException
files
- the array of filesjava.io.IOException
- - if there is any I/O errorCopyright © 1998, 2012, Oracle and/or its affiliates. All rights reserved.